import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElIcons from '@element-plus/icons-vue'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import store from './store'
import router from './router'
import  '@/assets/style.css'

const app = createApp(App)
// 引入所有图标到项目中
for (const name in ElIcons)
{
    app.component(name,ElIcons[name])
}
app.use(store)
app.use(router)
app.use(ElementPlus ,{locale: zhCn })
app.mount('#app')
